package com.expoents.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author YXC
 * @since 2022-08-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Student对象", description="")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户编号，绑定用户")
    private Integer user_id;

    @ApiModelProperty(value = "学校")
    private String school;

    @ApiModelProperty(value = "部门")
    private String depart;

    @ApiModelProperty(value = "班级")
    private String classinfo;

    @ApiModelProperty(value = "学号")
    private String student_no;

    private LocalDateTime create_time;

    private LocalDateTime update_time;

    @ApiModelProperty(value = "专业")
    private String major;

    @ApiModelProperty(value = "学生姓名")
    private String student_name;
    
//    @Version
//    private Integer version;

    
}
